package com.concurrent.dao;

import com.concurrent.model.UserRole;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 用户角色关联表 Mapper 接口
 * </p>
 *
 * @author yuanc
 * @since 2019-02-25
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {
    public List<UserRole> selectRoleByUsername(@Param("uid") Integer uid);
}